//----------------------------------------------------------------------------
// C main line
//----------------------------------------------------------------------------

#include <m8c.h>        // part specific constants and macros
#include "PSoCAPI.h"    // PSoC API definitions for all User Modules
#include "signalloader.h"
#include "event.h"

void main(void)
{
	signalloader_init();
	event_init();
 	M8C_EnableGInt ; // Uncomment this line to enable Global Interrupts
	
	while(1)
	{
		signalloader_process();
		event_process();
	}
}
